<template>
  <div id="app" :class="style ? 'theme1' : ''">
    <router-view></router-view>
  </div>
</template>

<script>

export default {
  data(){
    return{
      style: false
    }
  },
  mounted(){
    if(sessionStorage.getItem('userData')==null){
      document.title=this.$t('WholeLang.footer_name')
    }else{
      document.title=JSON.parse(sessionStorage.getItem('userData')).tips
      let icon=document.querySelector('link[rel ="shortcut icon"]')
      icon.href=this.$baseUrl+JSON.parse(sessionStorage.getItem('userData')).logo
    }
  }
}
</script>

<style lang="less">
  .el-popover{
    min-width: 100px;
  }
  .my-multiple{
    padding: 0 !important;
  }
  .my-multiple.selected::after{
    top: 0;
  }
</style>